package com.mei.demo.service;

import java.util.List;

import com.mei.demo.domain.Dictionary;

/**
 * 
 * 
 * @author mei.xiaoliang@qq.com
 */
public interface DictionaryService {

    /**
     * 查询所有，用于构建字典树 
     */
    List<Dictionary> listAll();

    Dictionary browse(int id);

    int add(Dictionary dict);

    int update(Dictionary dict);

    int delete(Dictionary dict);

}
